package com.xht.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleDetailVo {
    @TableId
    private Long id;
    //标题
    private String title;
    //文章摘要
    private String summary;
    //文章内容
    private String content;
    //分类id
    private Long categoryId;
    //所属分类名
    private String  categoryName;
    //访问量
    private Long viewCount;
    //创建时间
    private Date createTime;
    //返回对应的tag列表
    private List<String> tags;
    //是否允许评论 1是，0否
    private String isComment;
}
